home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 March / Gamestar_71_2005-03_dvd.iso / Dema / willofsteel_demo.exe / {app} / Data / gui / options.gui < prev    next >
Text File  |  2004-10-29  |  10KB  |  335 lines

  1. ID_BUTTON            = 0 
  2. ID_CHK_BOX            = 2  
  3. ID_FRAME            = 7 
  4. PGUI_1STBUTTON_DOWN            =  0 
  5. PGUI_1STBUTTON_UP            =  1 
  6. PGUI_1STBUTTON_CLCK            =  2
  7. PGUI_1STBUTTON_DBLCLCK      =  3
  8. PGUI_1STBUTTON_DRAG            =  4
  9. PGUI_1STBUTTON_DROP            =  5
  10. PGUI_2NDBUTTON_DOWN            =  6
  11. PGUI_2NDBUTTON_UP            =  7
  12. PGUI_2NDBUTTON_CLCK            =  8
  13. PGUI_2NDBUTTON_DBLCLCK        =  9
  14. PGUI_2NDBUTTON_DRAG            = 10
  15. PGUI_2NDBUTTON_DROP            = 11
  16. PGUI_POINTER_MOVE            = 12
  17. PGUI_POINTER_HOVER            = 13
  18. PGUI_POINTER_LEAVE            = 14
  19. PGUI_POINTER_DRAG_HOVER        = 15
  20. PGUI_POINTER_DRAG_LEAVE        = 16
  21. PGUI_CHAR_PRESSED            = 17
  22. PGUI_KEY_PRESSED            = 18
  23. PGUI_VALUE_CHANGED            = 19
  24. PGUI_RELEASE_FOCUS            = 20
  25. PGUI_INITIALISATION            = 21
  26. PGUI_ANIMATION_FINISHED        = 22
  27.  
  28. CreateGUI("options");
  29.  
  30. id=GUIADDCONTROL {
  31.     Parent     = 0,
  32.     Name       = "OptionsFrame",
  33.     Title       = "OptionsFrame",
  34.     ControlType= ID_FRAME,
  35.     BoundRect  = {0,0,1024,768},
  36.     Texture    = "GUI/options.dds",
  37.     Rec1STTexture = {0,232,1,233},
  38. };
  39.  
  40. dijalog = GUIADDCONTROL {
  41.     Parent     = id,
  42.     Name       = "OptionsFrame2",
  43.     Title       = "OptionsFrame2",
  44.     ControlType= ID_FRAME,
  45.     BoundRect  = {264,220,764,540},
  46.     Texture    = "GUI/options.dds",
  47.     Rec1STTexture = {0,0,499,321},
  48. };
  49.  
  50. GUIADDCONTROL {
  51.     Parent     = dijalog,
  52.     Name       = "Options",
  53.     ControlType= ID_BUTTON,
  54.     BoundRect  = {670-264,502-220,747-264,530-220},
  55.     Texture    = "GUI/options.dds",
  56.     Title      = "Button 2",
  57.     Rec1STTexture = {670-264,502-220,747-264,530-220},
  58.     Rec2NDTexture = {80,321,157,353},
  59.     Rec3RDTexture = {80,321,157,353},
  60.     Rec4THTexture = {80,321,157,353},
  61.     MESSAGE_MAP = {
  62.         {PGUI_1STBUTTON_CLCK, "SETDLGRESULT_YES"},
  63.     },
  64. };
  65.  
  66. GUIADDCONTROL {
  67.     Parent     = dijalog,
  68.     Name       = "VoiceToggle",
  69.     ControlType= ID_CHK_BOX,
  70.     BoundRect  = {430-264,462-220,458-264,494-220},
  71.     Texture    = "GUI/options.dds",
  72.     Title      = "Button 23",
  73.     Rec1STTexture = {430-264,462-220,458-264,494-220},
  74.     Rec2NDTexture = {26+157,321,54+157,353},
  75.     Rec3RDTexture = {26,321,54,353},
  76.     Rec4THTexture = {26+237,321,54+237,353},
  77.     MESSAGE_MAP = {
  78.         {PGUI_INITIALISATION , "VOICETOGGLEBUTTON"},
  79.         {PGUI_1STBUTTON_CLCK , "VOICETOGGLE"},
  80.     },
  81. };
  82.  
  83.  
  84. GUIADDCONTROL {
  85.     Parent     = dijalog,
  86.     Name       = "MasterVolume",
  87.     ControlType= ID_CHK_BOX,
  88.     BoundRect  = {306-264,302-220,334-264,334-220},
  89.     Texture    = "GUI/options.dds",
  90.     Title      = "Button 23",
  91.     Rec1STTexture = {306-264,302-220,334-264,334-220},
  92.     Rec2NDTexture = {26+157,321,54+157,353},
  93.     Rec3RDTexture = {26,321,54,353},
  94.     Rec4THTexture = {26+237,321,54+237,353},
  95.     MESSAGE_MAP = {
  96.         {PGUI_INITIALISATION, "MASTERTOGGLEBUTTON"},
  97.         {PGUI_VALUE_CHANGED, "MASTERTOGGLE"},
  98.     },
  99. };
  100.  
  101.  
  102. GUIADDCONTROL {
  103.     Parent     = dijalog,
  104.     Name       = "MasterVolumeMinus",
  105.     ControlType= ID_BUTTON,
  106.     BoundRect  = {339-264,302-220,365-264,334-220},
  107.     Texture    = "GUI/options.dds",
  108.     Title      = "Button 23",
  109.     Rec1STTexture = {339-264,302-220,365-264,334-220},
  110.     Rec2NDTexture = {0+157,321,26+157,353},
  111.     Rec3RDTexture = {0,321,26,353},
  112.     Rec4THTexture = {0+237,321,26+237,353},
  113.     MESSAGE_MAP = {
  114.         {PGUI_1STBUTTON_CLCK, "MASTERMINUS"},
  115.     },
  116. };
  117.  
  118. GUIADDCONTROL {
  119.     Parent     = dijalog,
  120.     Name       = "MasterVolumePlus",
  121.     ControlType= ID_BUTTON,
  122.     BoundRect  = {707-264,302-220,733-264,334-220},
  123.     Texture    = "GUI/options.dds",
  124.     Title      = "Button 23",
  125.     Rec1STTexture = {707-264,302-220,733-264,334-220},
  126.     Rec2NDTexture = {54+157,321,80+157,353},
  127.     Rec3RDTexture = {54,321,80,353},
  128.     Rec4THTexture = {54+237,321,80+237,353},
  129.     MESSAGE_MAP = {
  130.         {PGUI_1STBUTTON_CLCK, "MASTERPLUS"},
  131.     },
  132. };
  133.  
  134. GUIADDCONTROL {
  135.     Parent     = dijalog,
  136.     Name       = "MusicVolume",
  137.     ControlType= ID_CHK_BOX,
  138.     BoundRect  = {306-264,342-220,334-264,374-220},
  139.     Texture    = "GUI/options.dds",
  140.     Title      = "Button 23",
  141.     Rec1STTexture = {306-264,342-220,334-264,374-220},
  142.     Rec2NDTexture = {26+157,321,54+157,353},
  143.     Rec3RDTexture = {26,321,54,353},
  144.     Rec4THTexture = {26+237,321,54+237,353},
  145.     MESSAGE_MAP = {
  146.         {PGUI_INITIALISATION, "MUSICTOGGLEBUTTON"},
  147.         {PGUI_1STBUTTON_CLCK, "MUSICTOGGLE"},
  148.     },
  149. };
  150.  
  151. GUIADDCONTROL {
  152.     Parent     = dijalog,
  153.     Name       = "MusicVolumeMinus",
  154.     ControlType= ID_BUTTON,
  155.     BoundRect  = {339-264,342-220,365-264,374-220},
  156.     Texture    = "GUI/options.dds",
  157.     Title      = "Button 23",
  158.     Rec1STTexture = {339-264,342-220,365-264,374-220},
  159.     Rec2NDTexture = {0+157,321,26+157,353},
  160.     Rec3RDTexture = {0,321,26,353},
  161.     Rec4THTexture = {0+237,321,26+237,353},
  162.     MESSAGE_MAP = {
  163.         {PGUI_1STBUTTON_CLCK, "MUSICMINUS"},
  164.     },
  165. };
  166.  
  167. GUIADDCONTROL {
  168.     Parent     = dijalog,
  169.     Name       = "MusicVolumePlus",
  170.     ControlType= ID_BUTTON,
  171.     BoundRect  = {707-264,342-220,733-264,374-220},
  172.     Texture    = "GUI/options.dds",
  173.     Title      = "Button 23",
  174.     Rec1STTexture = {707-264,342-220,733-264,374-220},
  175.     Rec2NDTexture = {54+157,321,80+157,353},
  176.     Rec3RDTexture = {54,321,80,353},
  177.     Rec4THTexture = {54+237,321,80+237,353},
  178.     MESSAGE_MAP = {
  179.         {PGUI_1STBUTTON_CLCK, "MUSICPLUS"},
  180.     },
  181. };
  182.  
  183. GUIADDCONTROL {
  184.     Parent     = dijalog,
  185.     Name       = "3DSfxVolume",
  186.     ControlType= ID_CHK_BOX,
  187.     BoundRect  = {306-264,382-220,334-264,414-220},
  188.     Texture    = "GUI/options.dds",
  189.     Title      = "Button 23",
  190.     Rec1STTexture = {306-264,382-220,334-264,414-220},
  191.     Rec2NDTexture = {26+157,321,54+157,353},
  192.     Rec3RDTexture = {26,321,54,353},
  193.     Rec4THTexture = {26+237,321,54+237,353},
  194.     MESSAGE_MAP = {
  195.         {PGUI_INITIALISATION, "SFX3DTOGGLEBUTTON"},
  196.         {PGUI_1STBUTTON_CLCK, "SFX3DTOGGLE"},
  197.     },
  198. };
  199.  
  200. GUIADDCONTROL {
  201.     Parent     = dijalog,
  202.     Name       = "3DSfxVolumeMinus",
  203.     ControlType= ID_BUTTON,
  204.     BoundRect  = {339-264,382-220,365-264,414-220},
  205.     Texture    = "GUI/options.dds",
  206.     Title      = "Button 23",
  207.     Rec1STTexture = {339-264,382-220,365-264,414-220},
  208.     Rec2NDTexture = {0+157,321,26+157,353},
  209.     Rec3RDTexture = {0,321,26,353},
  210.     Rec4THTexture = {0+237,321,26+237,353},
  211.     MESSAGE_MAP = {
  212.         {PGUI_1STBUTTON_CLCK, "SFX3DMINUS"},
  213.     },
  214. };
  215.  
  216.  
  217. GUIADDCONTROL {
  218.     Parent     = dijalog,
  219.     Name       = "3DSfxVolumePlus",
  220.     ControlType= ID_BUTTON,
  221.     BoundRect  = {707-264,382-220,733-264,414-220},
  222.     Texture    = "GUI/options.dds",
  223.     Title      = "Button 23",
  224.     Rec1STTexture = {707-264,382-220,733-264,414-220},
  225.     Rec2NDTexture = {54+157,321,80+157,353},
  226.     Rec3RDTexture = {54,321,80,353},
  227.     Rec4THTexture = {54+237,321,80+237,353},
  228.     MESSAGE_MAP = {
  229.         {PGUI_1STBUTTON_CLCK, "SFX3DPLUS"},
  230.     },
  231. };
  232.  
  233. GUIADDCONTROL {
  234.     Parent     = dijalog,
  235.     Name       = "2DSfxVolume",
  236.     ControlType= ID_CHK_BOX,
  237.     BoundRect  = {306-264,422-220,334-264,454-220},
  238.     Texture    = "GUI/options.dds",
  239.     Title      = "Button 23",
  240.     Rec1STTexture = {306-264,422-220,334-264,454-220},
  241.     Rec2NDTexture = {26+157,321,54+157,353},
  242.     Rec3RDTexture = {26,321,54,353},
  243.     Rec4THTexture = {26+237,321,54+237,353},
  244.     MESSAGE_MAP = {
  245.         {PGUI_INITIALISATION, "SFX2DTOGGLEBUTTON"},
  246.         {PGUI_1STBUTTON_CLCK, "SFX2DTOGGLE"},
  247.     },
  248. };
  249.  
  250. GUIADDCONTROL {
  251.     Parent     = dijalog,
  252.     Name       = "2DSfxVolumeMinus",
  253.     ControlType= ID_BUTTON,
  254.     BoundRect  = {339-264,422-220,365-264,454-220},
  255.     Texture    = "GUI/options.dds",
  256.     Title      = "Button 23",
  257.     Rec1STTexture = {339-264,422-220,365-264,454-220},
  258.     Rec2NDTexture = {0+157,321,26+157,353},
  259.     Rec3RDTexture = {0,321,26,353},
  260.     Rec4THTexture = {0+237,321,26+237,353},
  261.     MESSAGE_MAP = {
  262.         {PGUI_1STBUTTON_CLCK, "SFX2DMINUS"},
  263.     },
  264. };
  265.  
  266. GUIADDCONTROL {
  267.     Parent     = dijalog,
  268.     Name       = "2DSfxVolumePlus",
  269.     ControlType= ID_BUTTON,
  270.     BoundRect  = {707-264,422-220,733-264,454-220},
  271.     Texture    = "GUI/options.dds",
  272.     Title      = "Button 23",
  273.     Rec1STTexture = {707-264,422-220,733-264,454-220},
  274.     Rec2NDTexture = {54+157,321,80+157,353},
  275.     Rec3RDTexture = {54,321,80,353},
  276.     Rec4THTexture = {54+237,321,80+237,353},
  277.     MESSAGE_MAP = {
  278.         {PGUI_1STBUTTON_CLCK, "SFX2DPLUS"},
  279.     },
  280. };
  281.  
  282. GUIADDCONTROL {
  283.     Parent     = dijalog,
  284.     Name       = "MasterProgress",
  285.     ControlType= ID_PROGRESSBAR,
  286.     BoundRect  = {377-264,302-220,694-264,334-220},
  287.     Texture    = "GUI/options.dds",
  288.     Rec1STTexture = {377-264,302-220,694-264,334-220},
  289.     Rec2NDTexture = {0,353,317,385},
  290.     
  291.     MESSAGE_MAP = {
  292.         {PGUI_INITIALISATION, "PROG_MASTER"},
  293.         {PGUI_1STBUTTON_CLCK, "PROG_CLICK"},
  294.     },
  295. };
  296. GUIADDCONTROL {
  297.     Parent     = dijalog,
  298.     Name       = "MusicProgress",
  299.     ControlType= ID_PROGRESSBAR,
  300.     BoundRect  = {377-264,342-220,694-264,374-220},
  301.     Texture    = "GUI/options.dds",
  302.     Rec1STTexture = {377-264,342-220,694-264,374-220},
  303.     Rec2NDTexture = {0,385,317,416},
  304.     MESSAGE_MAP = {
  305.         {PGUI_INITIALISATION, "PROG_MUSIC"},
  306.         {PGUI_1STBUTTON_CLCK, "PROG_CLICK"},
  307.     },
  308. };
  309. GUIADDCONTROL {
  310.     Parent     = dijalog,
  311.     Name       = "3DSfxProgress",
  312.     ControlType= ID_PROGRESSBAR,
  313.     BoundRect  = {377-264,382-220,694-264,414-220},
  314.     Texture    = "GUI/options.dds",
  315.     Rec1STTexture = {377-264,382-220,694-264,414-220},
  316.     Rec2NDTexture = {0,416,317,449},
  317.     MESSAGE_MAP = {
  318.         {PGUI_INITIALISATION, "PROG_SFX3D"},
  319.         {PGUI_1STBUTTON_CLCK, "PROG_CLICK"},
  320.     },
  321. };
  322. GUIADDCONTROL {
  323.     Parent     = dijalog,
  324.     Name       = "2DSfxProgress",
  325.     ControlType= ID_PROGRESSBAR,
  326.     BoundRect  = {377-264,422-220,694-264,454-220},
  327.     Texture    = "GUI/options.dds",
  328.     Rec1STTexture = {377-264,422-220,694-264,454-220},
  329.     Rec2NDTexture = {0,449,317,481},
  330.     MESSAGE_MAP = {
  331.         {PGUI_INITIALISATION, "PROG_SFX2D"},
  332.         {PGUI_1STBUTTON_CLCK, "PROG_CLICK"},
  333.     },
  334. };
  335.